package com.qf.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.16
 * @since 1.0
 */
public class MyJob implements Job {
    /**
     * 任务本身
     * @param context
     * @throws JobExecutionException
     */
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        //定时发送邮件，定时统计考勤，定时清理数据
        System.out.println("任务---执行了----"  + new Date());
    }
}
